<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <title>
            <?php echo __('Maxsimous And Domadeos') ?> 
            <?php include_slot('title') ?>
        </title>
        <link rel="shortcut icon" href="/images/test.jpeg" />
        <?php include_stylesheets() ?>
        <script>
            var  i18n = {
                "success":"<?php echo __('Success') ?>",
                'error':"<?php echo __('Error'); ?>",
                'inform':"<?php echo __('Information'); ?>",
                'worning':"<?php echo __('Worning') ?>",
                "Loading data":"<?php echo __('Loading data') ?>",
                "Please wait":"<?php echo __('Please wait') ?>"
<?php include_slot('i18n') ?>
    }

    function __(key) 
    {
        var word;
        if(i18n[key])
        {
            word = i18n[key]
        }
        else
        {
            word = key
        }
        return word;
    }
        </script>
        <?php include_javascripts() ?>

    </head>
    <body>
        <div class="headerpic"></div><!--header pic-->
        <div class="NavigationBG">
            <div class="header"><!--Header-->
                <div class="NavigationBar"><!--Navigation Bar text-->

                    <ul>
                        <?php $currentModule = $sf_context->getModuleName(); ?>
                        <li><a class="last <?php echo $currentModule == 'home' ? 'current' : '' ?>" href="<?php echo url_for('home/index') ?>"><?php echo __('Home') ?></a></li>
                        <?php if ($sf_user->isAuthenticated()): ?>
                            <li><a href="<?php echo url_for('Logout') ?>"> <?php echo __('logout') ?></a> </li>
                            <li><a href="<?php echo url_for('ShowMyJobs') ?>"> <?php echo __('Show My Jobs') ?></a> </li>
                            <li><a href="<?php echo url_for('AddCompany') ?>"> <?php echo __('Add company') ?></a> </li>
                            <li><a href="<?php echo url_for('Messages') ?>"> <?php echo __('Messages') ?></a> </li>
                        <?php else: ?>
                            <li><a class="<?php echo $currentModule == 'login' ? 'current' : '' ?>" href="<?php echo url_for('Login') ?>"><?php echo __('Login') ?></a></li>
                            <li><a class="<?php echo $currentModule == 'register' ? 'current' : '' ?>" href="<?php echo url_for('Register') ?>"><?php echo __('Register') ?></a></li>
                        <?php endif; ?>
                        <li><a class="<?php echo $currentModule == 'job' ? 'current' : '' ?>" href="#"><?php echo __('Job') ?></a></li>

                        <li><a class="<?php ?>" href="contact.html">Contact</a></li>
                    </ul>    	
                </div>
            </div>
        </div>

        <div class="wrapper"><!--defined area-->
            <div class="content"> <!--content-->
                <?php include_partial('global/messages') ?>
                <?php echo $sf_content ?>
            </div>
        </div>
        <div class="footer">
            <!-- end .footer -->
        </div>
        <!-- end .container -->
        </div>
    </body>
</html>
